import TextRotator from "./TextRotator";
import { portfolioConfig } from "@/config/portfolio.config";

const HeroTexts = () => {
  // Handle Chinese name differently
  const name = portfolioConfig.name;
  
  return (
    <>
      <h3 className="font-poppins text-2xl max-sm:text-xl">你好，我是</h3>
      <h1 className="font-rubik text-8xl name_underline text-primary max-sm:text-6xl ">
        {name} .
      </h1>
      <TextRotator />
    </>
  );
};
export default HeroTexts;
